package com.example.alipay_10_3.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class Order {
    //订单管理模块所使用的实体类
    private String userid;  //用户id

    private String orderid;     //订单编号

    private String ordername;     //买家支付宝号或者银联卡编号

    private double orderprice;      //订单金额

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp orderdate;    //交易时间

    private String orderpaytype;    //交易类型
}
